LIB = -lnanovg -lSDL2 -lGL -lGLU -lm -lGLEW
NANOVGLIB = -L./nanovg/build
NANOVGINC = -I./nanovg/obsolete -I./nanovg/src

FLAG = -Wall -O2 

all : example.o
	g++ $(NANOVGLIB) -o example ./example.o $(LIB)

example.o : example.c
	gcc $(FLAG) $(NANOVGINC) -c ./example.c -o example.o


